[INFO] cloning repository https://github.com/chrizlm/Bank
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrizlm/Bank" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrizlm%2FBank", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrizlm%2FBank'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 55d4d97b8ac83dbdb689869248904dba9c77bcfa
[INFO] checking chrizlm/Bank against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrizlm%2FBank" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/chrizlm/Bank on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/chrizlm/Bank
[INFO] finished tweaking git repo https://github.com/chrizlm/Bank
[INFO] tweaked toml for git repo https://github.com/chrizlm/Bank written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/chrizlm/Bank already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ca6b56998b7d55abe071e14c6abc93ab1766e0369e00344283bafe124b902d34
[INFO] running `Command { std: "docker" "start" "-a" "ca6b56998b7d55abe071e14c6abc93ab1766e0369e00344283bafe124b902d34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ca6b56998b7d55abe071e14c6abc93ab1766e0369e00344283bafe124b902d34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca6b56998b7d55abe071e14c6abc93ab1766e0369e00344283bafe124b902d34", kill_on_drop: false }`
[INFO] [stdout] ca6b56998b7d55abe071e14c6abc93ab1766e0369e00344283bafe124b902d34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cec1e8914f17770e264f48206d55921a9fb2152dcb17db959008f708c2cf7195
[INFO] running `Command { std: "docker" "start" "-a" "cec1e8914f17770e264f48206d55921a9fb2152dcb17db959008f708c2cf7195", kill_on_drop: false }`
[INFO] [stderr]     Checking bank1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/customer.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let mut account = &mut self.storage[index];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/customer.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let mut account = &self.storage[index];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut new_store = customer::StoredAccounts::default();
[INFO] [stdout]   |         ----^^^^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&mut customer::Customer`
[INFO] [stdout]    --> src/main.rs:388:9
[INFO] [stdout]     |
[INFO] [stdout] 388 |         assert_eq!(store.get_account(12345), store2.get_account(12345));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         &mut customer::Customer
[INFO] [stdout]     |         &mut customer::Customer
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `customer::Customer`
[INFO] [stdout]    --> src/customer.rs:2:1
[INFO] [stdout]     |
[INFO] [stdout] 2   | pub struct Customer{
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider annotating `customer::Customer` with `#[derive(PartialEq)]`
[INFO] [stdout]    --> src/customer.rs:2:1
[INFO] [stdout]     |
[INFO] [stdout] 2   + #[derive(PartialEq)]
[INFO] [stdout] 3   | 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let mut acc = stored_accounts.get_account(account_id);
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:160:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |             5 => {
[INFO] [stdout]     |             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0369`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `store`
[INFO] [stdout]    --> src/main.rs:236:51
[INFO] [stdout]     |
[INFO] [stdout] 236 |     pub fn transfer_money(acc: &mut Customer, mut store: StoredAccounts){
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:236:47
[INFO] [stdout]     |
[INFO] [stdout] 236 |     pub fn transfer_money(acc: &mut Customer, mut store: StoredAccounts){
[INFO] [stdout]     |                                               ----^^^^^
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `transfer_money` is never used
[INFO] [stdout]    --> src/main.rs:236:12
[INFO] [stdout]     |
[INFO] [stdout] 236 |     pub fn transfer_money(acc: &mut Customer, mut store: StoredAccounts){
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_STORAGE` is never used
[INFO] [stdout]   --> src/customer.rs:76:7
[INFO] [stdout]    |
[INFO] [stdout] 76 | const DEFAULT_STORAGE: Vec<Customer> = vec![];
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bank1` (bin "bank1" test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: method `get_account2` is never used
[INFO] [stdout]    --> src/customer.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 88  | impl StoredAccounts{
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn get_account2(&mut self, acc_num: u64) -> &Customer {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "cec1e8914f17770e264f48206d55921a9fb2152dcb17db959008f708c2cf7195", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cec1e8914f17770e264f48206d55921a9fb2152dcb17db959008f708c2cf7195", kill_on_drop: false }`
[INFO] [stdout] cec1e8914f17770e264f48206d55921a9fb2152dcb17db959008f708c2cf7195
